package com.tfjybj.itoo.exam.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * ExamNotesModel
 * 考生须知表
 *
 * @author 任晓帅
 * @version 2.0.0
 * @since 2.0.0 2018-11-15 19:40:28
 */
@ApiModel(value = "ExamNotesModel:考生须知表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class ExamNotesModel implements Serializable {

    //region 模板逆向生产来自ExamNotesEntity的属性
    /**
     * id
     */
    @ApiModelProperty(value = "examNotes主键")
    @Column(name = "id")
    private String id;
    /**
     * 内容：字符串格式
     */
    @ApiModelProperty(value = "内容：字符串格式", required = true)
    private String content;

    /**
     * 内容：HTML格式
     */
    @ApiModelProperty(value = "内容：HTML格式", required = true)
    private String contentHtml;

    /**
     * 阅读时长（单位秒，默认30秒）
     */
    @ApiModelProperty(value = "阅读时长（单位秒，默认30秒）", example = "0")
    private Integer readTime;

    //endregion

    /* *****************************以下是非模板生成的内容************************************ */
    /**
     * 是否安排考生须知(0安排 1不安排)
     */
    @ApiModelProperty(value = "是否安排考生须知(0安排 1不安排)", example = "0")
    private Integer isStudentNotes;
}
